package com.cy.detectsys.controller.azure;

import com.cy.detectsys.entity.vo.TargetAssetsVo;
import com.cy.detectsys.entity.vo.TargetInfoVo;
import com.cy.detectsys.service.TargetAssetsService;
import com.cy.detectsys.util.BaseResponseInfo;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;

/**
 * @author asus
 * @version 1.0
 * @description: TODO
 * @date 2024/6/14 10:32
 */
@RestController
@RequestMapping(value = "/targetAssetsController")
public class TargetAssetsController {
    @Resource
    TargetAssetsService targetAssetsService;

    /**
     * @description: TODO
     * @author   重点目标资产
     * @date 2024/6/3 13:47
     * @version 1.0
     */
    @PostMapping("/targetAssets")
    private BaseResponseInfo targetAssets(@RequestBody TargetAssetsVo targetAssetsVo) {
        return targetAssetsService.targetAssets(targetAssetsVo);
    }

    /**
    * @description:
    * @param: 重点目标资产查詢的下拉框
    * @return:
    * @author asus
    * @date: 2024/6/17 17:18
    */
    @GetMapping("/targetAssetsBox")
    private BaseResponseInfo targetAssetsBox() {
        return targetAssetsService.targetAssetsBox();
    }




}
